<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: ThundeRobot
  Date: 2021/1/6
  Time: 20:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>register</title>
</head>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/register.js"></script>
<body>
    <%--判断是否登录--%>
    <c:if test="${empty dev_user}">
        <jsp:forward page="login.jsp"/>
    </c:if>
    <form method="post">
        <table align="center" border="1px" width="400px" height="400px">
            <tr align="center">
                <td colspan="2"><h2>注册账号</h2></td>
            </tr>
            <tr align="center">
                <td>账号：</td>
                <td>
                    <input type="text" name="devCode" id="devCode"/>
                    <span></span>
                </td>
            </tr>
            <tr align="center">
                <td>昵称：</td>
                <td><input type="text" name="devName" id="devName"/><span></span></td>
            </tr>
            <tr align="center">
                <td>密码：</td>
                <td><input type="password" name="devPassword" id="devPassword"/><span></span></td>
            </tr>
            <tr align="center">
                <td>邮箱：</td>
                <td><input type="email" name="devEmail" id="devEmail"/><span></span></td>
            </tr>
            <tr align="center">
                <td>信息：</td>
                <td><input type="text" name="devInfo" id="devInfo"/><span></span></td>
            </tr>
            <tr align="center">
                <td colspan="2">
                    <input type="button" value="提交" class="commit"/>
                    <input type="reset" value="重置"/>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
